# Makefile for: tequiLAN
# Date created: Sat Mar 14 2009
# Anon@elhacker.net

CC=gcc -ggdb
CFLAGS=-I/usr/local/include/libnet11
PCAP=-lpcap
LIBNET_INC=-DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN
LIBNET_LIB=-L/usr/local/lib/libnet113 -lnet

all: tequiLAN

tequiLAN: getMacRandom.o tequiLAN.c
	$(CC) $(CFLAGS) $(LIBNET_INC) $(LIBNET_LIB) -c tequiLAN.c
	$(CC) $(CFLAGS) $(LIBNET_INC) $(LIBNET_LIB) $(PCAP) -o tequiLAN tequiLAN.o getMacRandom.o

getMacRandom.o: getMacRandom.c
	$(CC) -c getMacRandom.c

clean:
	rm -rf *o tequiLAN

#EOF
